package desiginmodel.observe;

public abstract class AbstractGirlTarget implements Target{
	/**
	 * 婚姻状态
	 */
	private String maritalStatus;
	public String getMaritalStatus() {
		return maritalStatus;
	}
	public void setMaritalStatus(String maritalStatus) {
		this.maritalStatus = maritalStatus;
		this.notifyAllObservers();
	}
	@Override
	public String getState() {
		return this.getMaritalStatus();
	}
	@Override
	public void setState(String state) {
		this.setMaritalStatus(state);
	}
}
